.pyg_view{
  padding-top: 80px;
}


.pyg_search{
  position: fixed;
  /* 块级元素加上了定位之后（绝对和固定 宽度变成了由内容来撑开) */
  width: 100%;
  height: 40px;
  top: 0;
  left:0;
  background-color: pink;
  display: none;
}
.sort_bar{
  position: fixed;
  /* 块级元素加上了定位之后（绝对和固定 宽度变成了由内容来撑开) */
  width: 100%;
  height: 40px;
  top: 40px;
  left:0;
  background-color: yellowgreen;
  display: none;
}

.pyg_main{
  position: relative;
  overflow: hidden;
  .goods_wrap{
    list-style: none;
    margin: 0;
    padding: 0;
    li{
      background-color: #fff;
      margin-bottom: 5px;
      a{
        display: flex;
        .goods_img{
          flex: 1;
          img{
            width: 60%;
            margin: 0 auto;
            display: block;
          }
        }
        .goods_info{
          flex: 2;
          font-size: 13px;
          overflow: hidden;
          display: flex;

          flex-direction: column;
          justify-content: space-between;

          .goods_name{
            color: #666;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
          }
          .goods_price{
            color: red;
          }
        }
      }
    }
  }
}
